package com.ruoyi.project.system.region.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 region
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
public class Region extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long idRegion;

    /** $column.columnComment */
    @Excel(name = "城市", readConverterExp = "$column.readConverterExp()")
    private String nameRegion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long parentRegion;

    public void setIdRegion(Long idRegion)
    {
        this.idRegion = idRegion;
    }

    public Long getIdRegion()
    {
        return idRegion;
    }
    public void setNameRegion(String nameRegion)
    {
        this.nameRegion = nameRegion;
    }

    public String getNameRegion()
    {
        return nameRegion;
    }
    public void setParentRegion(Long parentRegion)
    {
        this.parentRegion = parentRegion;
    }

    public Long getParentRegion()
    {
        return parentRegion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("idRegion", getIdRegion())
            .append("nameRegion", getNameRegion())
            .append("parentRegion", getParentRegion())
            .toString();
    }
}
